package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {

    OrderSubmitVO orderCreat(OrdersSubmitDTO ordersSubmitDTO);

    PageResult HistoricalOrderInquiry(Integer page, int pageSize, Integer status);

    OrderVO selectWithOrderDetail(Long id);

    void cancelOrder(Long id);

    void againOrder(Long id);

    PageResult selectConditions(OrdersPageQueryDTO ordersPageQuer );

    OrderStatisticsVO countByStatus();

    OrderVO selectOrderDetail(Long id);

    void orderTaking(OrdersConfirmDTO ordersDTO);

    void ejectOrder(OrdersRejectionDTO ordersRejectionDTO);

    void cancelOrderAdmin(OrdersCancelDTO ordersCancelDTO);

    void handOutOrder(Long id);

    void completeOrder(Long id);

    void reminder(Long id);
}
